﻿/********************************************************************
	file base:	MMember
	file ext:	cs
	author:		mcvrlab
	
	purpose:	 会员实体类
*********************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EShop.Core.Model.Account
{
    /// <summary>
    /// 会员信息实体类
    /// </summary>
    public class Member : BaseEntity
    {
        public virtual string UserName { get; set; }

        public virtual string UserPwd { get; set; }

        public virtual int Roleid { get; set; }

        //用户头像
        public virtual string Icon { get; set; }

        //用户状态
        public virtual int UserState { get; set; }

        public virtual int ClassId { get; set; }

        //手机
        public virtual string Mobile { get; set; }

        //邮箱
        public virtual string Email { get; set; }

        //是否在线
        public virtual bool Oline { get; set; }

        //注册时间
        public virtual DateTime Regtime { get; set; }

        //最后一次登录IP
        public virtual string LastLoginIp { get; set; }

        //所在
        public virtual int AreaId { get; set; }

        //联系地址
        public virtual string Address { get; set; }

        private  DateTime _LastLogtime;

        public virtual DateTime LastLogtime
        {
            get { return _LastLogtime; }
            set { _LastLogtime = value; }
        }

        public virtual string UserPwdQuestion { get; set; }

        public virtual string UserPwdAnswer { get; set; }

        public virtual int Point { get; set; }

        public virtual MemberInfo memberinfo { get; set; }

    }
}
